using B.S.NewMedical.Api.Read.DTOS.Department;
using B.S.NewMedical.ErrorCode;
using MediatR;

namespace B.S.NewMedical.Api.Read.Application.Command.ContentManagement.Department
{
    /// <summary>
    /// 根据ID获取科室详情命令
    /// </summary>
    public class GetDepartmentByIdCommand : IRequest<ApiResult<DepartmentDisplayDto>>
    {
        /// <summary>
        /// 科室ID
        /// </summary>
        public int DepartmentId { get; set; }

        public GetDepartmentByIdCommand(int departmentId)
        {
            DepartmentId = departmentId;
        }
    }
}